#
#  Makefile for the Squid Object Cache server
#
#  $Id: Makefile.am 11899 2007-05-14 23:36:32Z hno $
#

libexec_PROGRAMS = squid_kerb_auth

SPNEGO = spnegohelp/derparse.c spnegohelp/derparse.h spnegohelp/Makefile spnegohelp/spnego.c spnegohelp/spnego.h spnegohelp/spnegohelp.c spnegohelp/spnegohelp.h spnegohelp/spnegoparse.c spnegohelp/spnegoparse.h
SOURCE = squid_kerb_auth.c base64.c base64.h
EXTRA_DIST = readme.txt do.sh

squid_kerb_auth_SOURCES = $(SOURCE) $(SPNEGO)

CPPFLAGS = $(KERBINC) -I$(srcdir)/spnegohelp -I.
#-I$(top_srcdir)/include -I$(top_srcdir)/src
LDADD = $(KERBLIBS)
#-L$(top_builddir)/lib -lmiscutil $(XTRA_LIBS)

# HEIMDAL
#KERBINC = -DHEIMDAL -I/usr/include/heimdal
#KERBLIBS = -lgssapi -lkrb5 -lcom_err -lasn1 -lroken

# MIT
KERBINC = 
KERBLIBS = -lgssapi_krb5 -lkrb5 -lcom_err

